INCLUDES = $(all_includes) -I$(top_builddir)/dependencies/bullet
METASOURCES = AUTO
noinst_LTLIBRARIES = libutils.la
noinst_HEADERS =	dir.h \
			file.h \
			parser.h \
			randgen.h \
			timer.h \
			timer2.h \
			fps.h \
			sleeper.h \
			settings.h \
			displaylists.h \
			gldebugdrawer.h \
			events.h \
			raycast.h \
			mousepicker.h \
			statsbuffer.h \
			commands.h \
			execcmd.h \
			logbuffer.h \
			headless.h \
			color.h \
			dirlayout.h \
			camera.h \
			objloader.h \
			image.h \
			texturestore.h \
			modelstore.h \
			net_server.h \
			net_client.h \
			joystick.h \
			shapecache.h

libutils_la_SOURCES =	dir.cpp \
			file.cpp \
			parser.cpp \
			randgen.cpp \
			timer.cpp \
			fps.cpp \
			sleeper.cpp \
			settings.cpp \
			displaylists.cpp \
			gldebugdrawer.cpp \
			events.cpp \
			raycast.cpp \
			mousepicker.cpp \
			statsbuffer.cpp \
			commands.cpp \
			execcmd.cpp \
			logbuffer.cpp \
			headless.cpp \
			color.cpp \
			dirlayout.cpp \
			objloader.cpp \
			image.cpp \
			texturestore.cpp \
			modelstore.cpp \
			net_server.cpp \
			net_client.cpp \
			joystick.cpp \
			camera.cpp
		      
libutils_la_LIBADD = @FTGL_LA@ $(top_builddir)/dependencies/bullet/libbulletmath.la \
			$(top_builddir)/dependencies/bullet/libbulletcollision.la \
			$(top_builddir)/dependencies/bullet/libbulletsoftbody.la \
			$(top_builddir)/dependencies/bullet/libbulletdynamics.la \
			$(top_builddir)/src/scenes/basescene/libbasescene.la
# 			$(top_builddir)/src/utils/bullet/libbulletmultithreaded.la
libutils_la_LDFLAGS = -avoid-version -no-undefined

SUBDIRS = @FTGL_LOCALDIR@
